package designPattern.observer;

public class CountObserver implements Observer {

    @Override
    public void update(Subject subject) {
        for (int i = 5; i > 0; i--){
            System.out.println("CountObserver is working. i = " + i);
        }
    }

}
